package com.hewl.shiro.admin.service;

import java.util.Set;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hewl.shiro.admin.dao.PermissionMapper;

@Service
public class PermissionService {

	@Autowired
	private PermissionMapper permissionMapper;
	
	public Set<String> findPermissionByUid(String id){
		return permissionMapper.findPermissionByUid(id);
	}
}
